Skip to content

Conversation

@stainless-app
Copy link
Contributor

@stainless-app stainless-app bot commented Aug 30, 2025

Automated Release PR

0.11.0 (2025-09-04)

Full Changelog: v0.10.0...v0.11.0

Features

  • api: adding support for browser profiles (52bcaa1)
  • improve future compat with pydantic v3 (72b0862)
  • types: replace List[str] with SequenceNotStr in params (688059b)

Chores

  • internal: add Sequence related utils (e833554)

This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions


TL;DR

This release introduces version 0.11.0, which adds support for browser profiles, improves forward compatibility with Pydantic v3, and makes type hints more flexible.

Why we made these changes

To prepare for the upcoming Pydantic v3 release, we've inverted our compatibility logic to treat v2/v3 as the default path. This release also improves the SDK's ergonomics by accepting any sequence type (like tuples) instead of just lists for certain parameters, which is more idiomatic and prevents common errors.

What changed?

  • Pydantic v3 Compatibility: Refactored Pydantic version checks across the codebase (e.g., _models.py, _compat.py) to handle v1 as the special case, paving the way for v3 support.
  • Flexible Type Hints: Introduced a SequenceNotStr type to allow any sequence of strings (e.g., list, tuple) but not a plain str for parameters like args in ProcessSpawnParams.
  • Code Refactoring:
    • Extracted date and datetime parsing logic into a dedicated _utils._datetime_parse module with comprehensive tests.
    • Centralized type introspection utilities in a new _utils._compat module.
  • Version Bump: Incremented the package version to 0.11.0 in pyproject.toml and updated the CHANGELOG.md.

Description generated by Mesa. Update settings

@stainless-app
Copy link
Contributor Author

stainless-app bot commented Aug 30, 2025

🧪 Testing

To try out this version of the SDK, run:

pip install 'https://pkg.stainless.com/s/kernel-python/52bcaa136a1792fd9a9d06f3f81a622a53a89e9a/kernel-0.10.0-py3-none-any.whl'

Expires: Sat, 04 Oct 2025 15:10:10 GMT

Copy link

@mesa-dot-dev mesa-dot-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Performed full review of 75671fb...0f10196

8 files reviewed | 0 comments | Review on Mesa | Edit Reviewer Settings

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 0f10196 to 1e1604b Compare September 3, 2025 03:10
@stainless-app stainless-app bot changed the title release: 0.10.1 release: 0.11.0 Sep 3, 2025
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 1e1604b to d9df145 Compare September 3, 2025 03:10
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from d9df145 to fcf4e19 Compare September 4, 2025 03:12
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from fcf4e19 to 86c89d4 Compare September 4, 2025 15:09
@stainless-app stainless-app bot merged commit 1bf1011 into main Sep 4, 2025
7 checks passed
@stainless-app
Copy link
Contributor Author

stainless-app bot commented Sep 4, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants